LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
FeedLoad(Byte[],Int32,Int32) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > FeedLoad Method : FeedLoad(Byte[],Int32,Int32) Method



data
The image file data.
offset
Offset from the beginning of the buffer to where the image data starts.
length
Total size (in bytes) of the image data.
data
The image file data.
offset
Offset from the beginning of the buffer to where the image data starts.
length
Total size (in bytes) of the image data.
Supplies image data to the file-load process from a buffer that you provide.

Syntax

Visual Basic (Declaration) 
Overloads Public Sub FeedLoad( _
   ByVal data() As Byte, _
   ByVal offset As Integer, _
   ByVal length As Integer _
) 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim data() As Byte
Dim offset As Integer
Dim length As Integer
 
instance.FeedLoad(data, offset, length)
C# 
public void FeedLoad( 
   byte[] data,
   int offset,
   int length
)
C++/CLI 
public:
void FeedLoad( 
   array<byte>^ data,
   int offset,
   int length
) 

Parameters

data
The image file data.
offset
Offset from the beginning of the buffer to where the image data starts.
length
Total size (in bytes) of the image data.

Example

For an example, refer to StartFeedLoad(Int32,CodecsLoadByteOrder).

Remarks

Use this method with the StartFeedLoad(Int32,CodecsLoadByteOrder) and StopFeedLoad methods.

For a description of how the methods relate to each other, refer to StartFeedLoad(Int32,CodecsLoadByteOrder).

LEADTOOLS will attempt to load corrupted files, so you can see at least a portion of the image. For these images, the load methods succeed, but LoadStatus will return an error code.

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also